package cc.lj.internal.payment.infrastructure.dao;

import cc.lj.internal.payment.infrastructure.po.CouponsSubsidyDetailPO;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;


/**
 * 电子券分摊表明细dao
 * @author liangxifeng
 * @date 2022-10-23
 */
@Mapper
public interface ICouponsSubsidyDetailMapper extends BaseMapper<CouponsSubsidyDetailPO> {
    /**
     * 查询已收款卖场分摊总和
     * @param wrapper
     * @return 查询已收款卖场分摊总和
     */
    BigDecimal martSharePriceSum(@Param(Constants.WRAPPER) Wrapper<CouponsSubsidyDetailPO> wrapper);
}
